import React ,{FC}from "react";
import { Link } from "umi";

interface propType{
    name?:string
}

const Home:FC<propType>=(props)=>{
    return (
        <fieldset>
            <legend>主页</legend>
            <h1>主页</h1>
            <Link to='/home/hahaha'>hahaha</Link>
            |
            <Link to='/home/welcome'>欢迎</Link>
            {props.children}
        </fieldset>
    )
}

export default Home
